<%@ page import="java.util.Random" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
%>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="<%=path%>/css/style.css" type="text/css" media="all">
    <link rel="stylesheet" href="<%=path%>/css/bootstrap.min.css" type="text/css" media="all">
</head>

<body>
<div class="header">
    <div class="container">
        <div class="row">
            <div class="logo span4">
                <h1>Login</h1>
            </div>
        </div>
    </div>
</div>
<div class="register-container container">
    <div class="row">
        <div class="iphone span5">
            <img src="./images/iphone.png" alt="">
        </div>
        <div class="register span6">
            <form action="<%=path%>/login" method="post">
                <h2>Welcome <span class="red"><strong>Lagou Education</strong></span></h2>
                <div class="form-group">
                    <label for="txtUserName">账号</label>
                    <input type="text" id="txtUserName" name="name" class="form-control">
                </div>
                <div class="form-group">
                    <label for="txtPassword">密码</label>
                    <input type="password" id="txtPassword" name="password" class="form-control">
                </div>
                <button type="submit" class="btn btn-lg">登录</button>
            </form>
        </div>
    </div>
</div>
<!-- Javascript -->
<script src="<%=path%>/js/jquery-1.8.3.min.js"></script>
<script src="<%=path%>/js/bootstrap.min.js"></script>
<script src="<%=path%>/js/jquery.backstretch.min.js"></script>
<script src="<%=path%>/js/scripts.js?ver=<%=new Random().nextDouble()%>"></script>
</body>
</html>
